[INFO] fetching crate dochy_diff 0.7.1...
[INFO] testing dochy_diff-0.7.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479
[INFO] extracting crate dochy_diff 0.7.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate dochy_diff 0.7.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dochy_diff 0.7.1
[INFO] finished tweaking crates.io crate dochy_diff 0.7.1
[INFO] tweaked toml for crates.io crate dochy_diff 0.7.1 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6657cc78168264bbc4b0ae7a1b82abef06d65734cc7231d886b625dfe17d673b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6657cc78168264bbc4b0ae7a1b82abef06d65734cc7231d886b625dfe17d673b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6657cc78168264bbc4b0ae7a1b82abef06d65734cc7231d886b625dfe17d673b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6657cc78168264bbc4b0ae7a1b82abef06d65734cc7231d886b625dfe17d673b", kill_on_drop: false }`
[INFO] [stdout] 6657cc78168264bbc4b0ae7a1b82abef06d65734cc7231d886b625dfe17d673b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5705f002cbb3c01293a9871e5153a190175aa12c7fc26994435f9aebb5a1f73
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d5705f002cbb3c01293a9871e5153a190175aa12c7fc26994435f9aebb5a1f73", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling with_capacity_safe v0.3.0
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling dochy_compaction v0.7.1
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling dochy_json5 v0.7.1
[INFO] [stderr]    Compiling dochy_core v0.7.1
[INFO] [stderr]    Compiling dochy_diff v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError`
[INFO] [stdout]  --> src/diff_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::option::NoneError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:70:58
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout]     | |                                                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:71:56
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout]     | |                                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:72:61
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] 72  | |         RustParam::Float(f) => r.push(comp_double(*f.value()?)),
[INFO] [stdout]     | |                                                             ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:73:59
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] 72  | |         RustParam::Float(f) => r.push(comp_double(*f.value()?)),
[INFO] [stdout] 73  | |         RustParam::String(s) => r.push( comp_str(s.value()?.to_string())),
[INFO] [stdout]     | |                                                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:74:60
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] ...   |
[INFO] [stdout] 74  | |         RustParam::IntArray(s) => write_int_array(s.value()?, r),
[INFO] [stdout]     | |                                                            ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:75:64
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] ...   |
[INFO] [stdout] 75  | |         RustParam::FloatArray(s) => write_float_array(s.value()?, r),
[INFO] [stdout]     | |                                                                ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/write/write_param.rs:76:55
[INFO] [stdout]     |
[INFO] [stdout] 68  | / fn write_param2(param : &RustParam, r : &mut Vec<KVal>) -> Result<(), DiffError>{
[INFO] [stdout] 69  | |     match param{
[INFO] [stdout] 70  | |         RustParam::Bool(i) => r.push(KVal::Bit(*i.value()?)),
[INFO] [stdout] 71  | |         RustParam::Int(i) => r.push(comp_int(*i.value()?)),
[INFO] [stdout] ...   |
[INFO] [stdout] 76  | |         RustParam::Binary(s) => write_binary(s.value()?, r),
[INFO] [stdout]     | |                                                       ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] 77  | |     }
[INFO] [stdout] 78  | |     Ok(())
[INFO] [stdout] 79  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:14:35
[INFO] [stdout]     |
[INFO] [stdout] 8   | / pub(crate) fn read_param(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError>{
[INFO] [stdout] 9   | |     match meta.var_type() {
[INFO] [stdout] 10  | |         VarType::Normal => {
[INFO] [stdout] 11  | |             read_param2(meta, r)
[INFO] [stdout] ...   |
[INFO] [stdout] 14  | |             if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 36  | |     }
[INFO] [stdout] 37  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:21:35
[INFO] [stdout]     |
[INFO] [stdout] 8   | / pub(crate) fn read_param(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError>{
[INFO] [stdout] 9   | |     match meta.var_type() {
[INFO] [stdout] 10  | |         VarType::Normal => {
[INFO] [stdout] 11  | |             read_param2(meta, r)
[INFO] [stdout] ...   |
[INFO] [stdout] 21  | |             if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 36  | |     }
[INFO] [stdout] 37  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:28:35
[INFO] [stdout]     |
[INFO] [stdout] 8   | / pub(crate) fn read_param(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError>{
[INFO] [stdout] 9   | |     match meta.var_type() {
[INFO] [stdout] 10  | |         VarType::Normal => {
[INFO] [stdout] 11  | |             read_param2(meta, r)
[INFO] [stdout] ...   |
[INFO] [stdout] 28  | |             if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 36  | |     }
[INFO] [stdout] 37  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:30:42
[INFO] [stdout]     |
[INFO] [stdout] 8   | / pub(crate) fn read_param(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError>{
[INFO] [stdout] 9   | |     match meta.var_type() {
[INFO] [stdout] 10  | |         VarType::Normal => {
[INFO] [stdout] 11  | |             read_param2(meta, r)
[INFO] [stdout] ...   |
[INFO] [stdout] 30  | |             } else if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 36  | |     }
[INFO] [stdout] 37  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:41:73
[INFO] [stdout]     |
[INFO] [stdout] 39  | / fn read_param2(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError> {
[INFO] [stdout] 40  | |     let p = match meta.param_type() {
[INFO] [stdout] 41  | |         ParamType::Bool => { RustParam::Bool(Qv::Val(r.read()?.as_bool()?)) }
[INFO] [stdout]     | |                                                                         ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] 42  | |         ParamType::Int => { RustParam::Int(Qv::Val(r.read()?.as_i64()?)) }
[INFO] [stdout] ...   |
[INFO] [stdout] 52  | |     Ok(p)
[INFO] [stdout] 53  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:42:70
[INFO] [stdout]     |
[INFO] [stdout] 39  | / fn read_param2(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError> {
[INFO] [stdout] 40  | |     let p = match meta.param_type() {
[INFO] [stdout] 41  | |         ParamType::Bool => { RustParam::Bool(Qv::Val(r.read()?.as_bool()?)) }
[INFO] [stdout] 42  | |         ParamType::Int => { RustParam::Int(Qv::Val(r.read()?.as_i64()?)) }
[INFO] [stdout]     | |                                                                      ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 52  | |     Ok(p)
[INFO] [stdout] 53  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:43:74
[INFO] [stdout]     |
[INFO] [stdout] 39  | / fn read_param2(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError> {
[INFO] [stdout] 40  | |     let p = match meta.param_type() {
[INFO] [stdout] 41  | |         ParamType::Bool => { RustParam::Bool(Qv::Val(r.read()?.as_bool()?)) }
[INFO] [stdout] 42  | |         ParamType::Int => { RustParam::Int(Qv::Val(r.read()?.as_i64()?)) }
[INFO] [stdout] 43  | |         ParamType::Float => { RustParam::Float(Qv::Val(r.read()?.as_f64()?)) }
[INFO] [stdout]     | |                                                                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 52  | |     Ok(p)
[INFO] [stdout] 53  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:46:62
[INFO] [stdout]     |
[INFO] [stdout] 39  | / fn read_param2(meta : &MetaParam, r : &mut Reader) -> Result<RustParam, DiffError> {
[INFO] [stdout] 40  | |     let p = match meta.param_type() {
[INFO] [stdout] 41  | |         ParamType::Bool => { RustParam::Bool(Qv::Val(r.read()?.as_bool()?)) }
[INFO] [stdout] 42  | |         ParamType::Int => { RustParam::Int(Qv::Val(r.read()?.as_i64()?)) }
[INFO] [stdout] ...   |
[INFO] [stdout] 46  | |                 Qv::Val(RustString::new(r.read()?.as_string()?)))
[INFO] [stdout]     | |                                                              ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustParam, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 52  | |     Ok(p)
[INFO] [stdout] 53  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustParam, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:80:38
[INFO] [stdout]     |
[INFO] [stdout] 78  | / fn read_binary(r : &mut Reader) -> Result<RustBinary, DiffError>{
[INFO] [stdout] 79  | |     if let KVal::Binary(b) = r.read()?{
[INFO] [stdout] 80  | |         let time = r.read()?.as_i64()? as u64;
[INFO] [stdout]     | |                                      ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustBinary, DiffError>`
[INFO] [stdout] 81  | |         let random = r.read()?.as_i64()? as u64;
[INFO] [stdout] ...   |
[INFO] [stdout] 85  | |     }
[INFO] [stdout] 86  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustBinary, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_param.rs:81:40
[INFO] [stdout]     |
[INFO] [stdout] 78  | / fn read_binary(r : &mut Reader) -> Result<RustBinary, DiffError>{
[INFO] [stdout] 79  | |     if let KVal::Binary(b) = r.read()?{
[INFO] [stdout] 80  | |         let time = r.read()?.as_i64()? as u64;
[INFO] [stdout] 81  | |         let random = r.read()?.as_i64()? as u64;
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<RustBinary, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 85  | |     }
[INFO] [stdout] 86  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<RustBinary, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/imp/read/reader.rs:22:40
[INFO] [stdout]     |
[INFO] [stdout] 21  | /     pub(crate) fn read_u64_array(&mut self) -> Result<Vec<u64>, DiffError>{
[INFO] [stdout] 22  | |         let len = self.read()?.as_i64()? as usize;
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u64>, DiffError>`
[INFO] [stdout] 23  | |         let mut vec = vec_with_capacity_safe(len)?;
[INFO] [stdout] 24  | |         for _ in 0..len{
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |         Ok(vec)
[INFO] [stdout] 28  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u64>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/imp/read/reader.rs:25:43
[INFO] [stdout]     |
[INFO] [stdout] 21  | /     pub(crate) fn read_u64_array(&mut self) -> Result<Vec<u64>, DiffError>{
[INFO] [stdout] 22  | |         let len = self.read()?.as_i64()? as usize;
[INFO] [stdout] 23  | |         let mut vec = vec_with_capacity_safe(len)?;
[INFO] [stdout] 24  | |         for _ in 0..len{
[INFO] [stdout] 25  | |             vec.push(self.read()?.as_i64()? as u64);
[INFO] [stdout]     | |                                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u64>, DiffError>`
[INFO] [stdout] 26  | |         }
[INFO] [stdout] 27  | |         Ok(vec)
[INFO] [stdout] 28  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u64>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/imp/read/reader.rs:31:40
[INFO] [stdout]     |
[INFO] [stdout] 30  | /     pub(crate) fn read_usize_array(&mut self) -> Result<Vec<usize>, DiffError>{
[INFO] [stdout] 31  | |         let len = self.read()?.as_i64()? as usize;
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<usize>, DiffError>`
[INFO] [stdout] 32  | |         let mut vec = vec_with_capacity_safe(len)?;
[INFO] [stdout] 33  | |         for _ in 0..len{
[INFO] [stdout] ...   |
[INFO] [stdout] 36  | |         Ok(vec)
[INFO] [stdout] 37  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<usize>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/imp/read/reader.rs:34:43
[INFO] [stdout]     |
[INFO] [stdout] 30  | /     pub(crate) fn read_usize_array(&mut self) -> Result<Vec<usize>, DiffError>{
[INFO] [stdout] 31  | |         let len = self.read()?.as_i64()? as usize;
[INFO] [stdout] 32  | |         let mut vec = vec_with_capacity_safe(len)?;
[INFO] [stdout] 33  | |         for _ in 0..len{
[INFO] [stdout] 34  | |             vec.push(self.read()?.as_i64()? as usize);
[INFO] [stdout]     | |                                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<usize>, DiffError>`
[INFO] [stdout] 35  | |         }
[INFO] [stdout] 36  | |         Ok(vec)
[INFO] [stdout] 37  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<usize>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_lists.rs:37:39
[INFO] [stdout]     |
[INFO] [stdout] 29  | / fn read_a_list(r : &mut Reader, index : usize, offset : usize,
[INFO] [stdout] 30  | |                 meta : &MetaTable) -> Result<ReadAList, DiffError> {
[INFO] [stdout] 31  | |     if let Some((_, a)) = meta.get(index + offset) {
[INFO] [stdout] 32  | |         match a {
[INFO] [stdout] ...   |
[INFO] [stdout] 37  | |                 if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                       ^ use `.ok_or(...)?` to provide an error compatible with `Result<ReadAList, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 47  | |     }
[INFO] [stdout] 48  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ReadAList, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:17:33
[INFO] [stdout]     |
[INFO] [stdout] 14  | / pub(crate) fn read_list(r : &mut Reader, meta : &MetaTables)
[INFO] [stdout] 15  | |     -> Result<ListDiffR, DiffError>{
[INFO] [stdout] 16  | |
[INFO] [stdout] 17  | |     let len = r.read()?.as_i64()? as usize;
[INFO] [stdout]     | |                                 ^ use `.ok_or(...)?` to provide an error compatible with `Result<ListDiffR, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 24  | |     Ok(ListDiffR::new(vec, next_id))
[INFO] [stdout] 25  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ListDiffR, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:18:37
[INFO] [stdout]     |
[INFO] [stdout] 14  | / pub(crate) fn read_list(r : &mut Reader, meta : &MetaTables)
[INFO] [stdout] 15  | |     -> Result<ListDiffR, DiffError>{
[INFO] [stdout] 16  | |
[INFO] [stdout] 17  | |     let len = r.read()?.as_i64()? as usize;
[INFO] [stdout] 18  | |     let next_id = r.read()?.as_i64()? as u64;
[INFO] [stdout]     | |                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<ListDiffR, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 24  | |     Ok(ListDiffR::new(vec, next_id))
[INFO] [stdout] 25  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ListDiffR, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:21:36
[INFO] [stdout]     |
[INFO] [stdout] 14  | / pub(crate) fn read_list(r : &mut Reader, meta : &MetaTables)
[INFO] [stdout] 15  | |     -> Result<ListDiffR, DiffError>{
[INFO] [stdout] 16  | |
[INFO] [stdout] 17  | |     let len = r.read()?.as_i64()? as usize;
[INFO] [stdout] ...   |
[INFO] [stdout] 21  | |         let id = r.read()?.as_i64()?;
[INFO] [stdout]     | |                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<ListDiffR, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 24  | |     Ok(ListDiffR::new(vec, next_id))
[INFO] [stdout] 25  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ListDiffR, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:28:27
[INFO] [stdout]     |
[INFO] [stdout] 27  | / fn read_list_item(r : &mut Reader, meta : &MetaTables) -> Result<ListItemDiffEnumR, DiffError>{
[INFO] [stdout] 28  | |     if r.read()?.as_bool()?{
[INFO] [stdout]     | |                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<ListItemDiffEnumR, DiffError>`
[INFO] [stdout] 29  | |         Ok(ListItemDiffEnumR::Modify(read_list_item2(r, meta)?))
[INFO] [stdout] 30  | |     } else if r.read()?.as_bool()?{
[INFO] [stdout] ...   |
[INFO] [stdout] 34  | |     }
[INFO] [stdout] 35  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ListItemDiffEnumR, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:30:34
[INFO] [stdout]     |
[INFO] [stdout] 27  | / fn read_list_item(r : &mut Reader, meta : &MetaTables) -> Result<ListItemDiffEnumR, DiffError>{
[INFO] [stdout] 28  | |     if r.read()?.as_bool()?{
[INFO] [stdout] 29  | |         Ok(ListItemDiffEnumR::Modify(read_list_item2(r, meta)?))
[INFO] [stdout] 30  | |     } else if r.read()?.as_bool()?{
[INFO] [stdout]     | |                                  ^ use `.ok_or(...)?` to provide an error compatible with `Result<ListItemDiffEnumR, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 34  | |     }
[INFO] [stdout] 35  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<ListItemDiffEnumR, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:39:27
[INFO] [stdout]     |
[INFO] [stdout] 37  | / fn read_cs(r : &mut Reader, meta : &MetaTables) -> Result<CS, DiffError>{
[INFO] [stdout] 38  | |     let mut prev_id = None;
[INFO] [stdout] 39  | |     if r.read()?.as_bool()?{
[INFO] [stdout]     | |                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<CS, DiffError>`
[INFO] [stdout] 40  | |         prev_id = Some(r.read()?.as_i64()? as u64);
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |     Ok(CS{ prev_id, diff })
[INFO] [stdout] 44  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<CS, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_list.rs:40:42
[INFO] [stdout]     |
[INFO] [stdout] 37  | / fn read_cs(r : &mut Reader, meta : &MetaTables) -> Result<CS, DiffError>{
[INFO] [stdout] 38  | |     let mut prev_id = None;
[INFO] [stdout] 39  | |     if r.read()?.as_bool()?{
[INFO] [stdout] 40  | |         prev_id = Some(r.read()?.as_i64()? as u64);
[INFO] [stdout]     | |                                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<CS, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |     Ok(CS{ prev_id, diff })
[INFO] [stdout] 44  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<CS, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_refs.rs:65:35
[INFO] [stdout]     |
[INFO] [stdout] 59  | / fn read_a_ref(r : &mut Reader, p : &MetaParam) -> Result<Option<Qv<String>>, DiffError> {
[INFO] [stdout] 60  | |     match p.var_type() {
[INFO] [stdout] 61  | |         VarType::Normal => {
[INFO] [stdout] 62  | |             Ok(Some(read_val(r)?))
[INFO] [stdout] ...   |
[INFO] [stdout] 65  | |             if r.read()?.as_bool()? {
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 87  | |     }
[INFO] [stdout] 88  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_refs.rs:72:35
[INFO] [stdout]     |
[INFO] [stdout] 59  | / fn read_a_ref(r : &mut Reader, p : &MetaParam) -> Result<Option<Qv<String>>, DiffError> {
[INFO] [stdout] 60  | |     match p.var_type() {
[INFO] [stdout] 61  | |         VarType::Normal => {
[INFO] [stdout] 62  | |             Ok(Some(read_val(r)?))
[INFO] [stdout] ...   |
[INFO] [stdout] 72  | |             if r.read()?.as_bool()? {
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 87  | |     }
[INFO] [stdout] 88  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_refs.rs:79:35
[INFO] [stdout]     |
[INFO] [stdout] 59  | / fn read_a_ref(r : &mut Reader, p : &MetaParam) -> Result<Option<Qv<String>>, DiffError> {
[INFO] [stdout] 60  | |     match p.var_type() {
[INFO] [stdout] 61  | |         VarType::Normal => {
[INFO] [stdout] 62  | |             Ok(Some(read_val(r)?))
[INFO] [stdout] ...   |
[INFO] [stdout] 79  | |             if r.read()?.as_bool()? {
[INFO] [stdout]     | |                                   ^ use `.ok_or(...)?` to provide an error compatible with `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 87  | |     }
[INFO] [stdout] 88  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_refs.rs:81:42
[INFO] [stdout]     |
[INFO] [stdout] 59  | / fn read_a_ref(r : &mut Reader, p : &MetaParam) -> Result<Option<Qv<String>>, DiffError> {
[INFO] [stdout] 60  | |     match p.var_type() {
[INFO] [stdout] 61  | |         VarType::Normal => {
[INFO] [stdout] 62  | |             Ok(Some(read_val(r)?))
[INFO] [stdout] ...   |
[INFO] [stdout] 81  | |             } else if r.read()?.as_bool()? {
[INFO] [stdout]     | |                                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 87  | |     }
[INFO] [stdout] 88  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Option<Qv<std::string::String>>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_refs.rs:91:37
[INFO] [stdout]     |
[INFO] [stdout] 90  | / fn read_val(r : &mut Reader) -> Result<Qv<String>, DiffError>{
[INFO] [stdout] 91  | |     Ok(Qv::Val(r.read()?.as_string()?))
[INFO] [stdout]     | |                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<Qv<std::string::String>, DiffError>`
[INFO] [stdout] 92  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Qv<std::string::String>, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_store_ids.rs:6:27
[INFO] [stdout]     |
[INFO] [stdout] 5   | / pub(crate) fn read_stored_ids(r : &mut Reader) -> Result<StoredIDs, DiffError>{
[INFO] [stdout] 6   | |     if r.read()?.as_bool()?{
[INFO] [stdout]     | |                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<StoredIDs, DiffError>`
[INFO] [stdout] 7   | |         let bits = r.read()?.as_i64()? as u64;
[INFO] [stdout] 8   | |         if bits == 0{
[INFO] [stdout] ...   |
[INFO] [stdout] 21  | |     }
[INFO] [stdout] 22  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<StoredIDs, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_store_ids.rs:7:38
[INFO] [stdout]     |
[INFO] [stdout] 5   | / pub(crate) fn read_stored_ids(r : &mut Reader) -> Result<StoredIDs, DiffError>{
[INFO] [stdout] 6   | |     if r.read()?.as_bool()?{
[INFO] [stdout] 7   | |         let bits = r.read()?.as_i64()? as u64;
[INFO] [stdout]     | |                                      ^ use `.ok_or(...)?` to provide an error compatible with `Result<StoredIDs, DiffError>`
[INFO] [stdout] 8   | |         if bits == 0{
[INFO] [stdout] ...   |
[INFO] [stdout] 21  | |     }
[INFO] [stdout] 22  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<StoredIDs, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_store_ids.rs:14:31
[INFO] [stdout]     |
[INFO] [stdout] 5   | / pub(crate) fn read_stored_ids(r : &mut Reader) -> Result<StoredIDs, DiffError>{
[INFO] [stdout] 6   | |     if r.read()?.as_bool()?{
[INFO] [stdout] 7   | |         let bits = r.read()?.as_i64()? as u64;
[INFO] [stdout] 8   | |         if bits == 0{
[INFO] [stdout] ...   |
[INFO] [stdout] 14  | |         if r.read()?.as_bool()?{
[INFO] [stdout]     | |                               ^ use `.ok_or(...)?` to provide an error compatible with `Result<StoredIDs, DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 21  | |     }
[INFO] [stdout] 22  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<StoredIDs, DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/imp/read/read_lists_numbers.rs:13:43
[INFO] [stdout]     |
[INFO] [stdout] 7   | / pub(crate) fn read_lists_numbers(r: &mut Reader, meta: &MetaTable, n: &Vec<usize>,
[INFO] [stdout] 8   | |                       lists: &mut Vec<(usize, Option<ListDiffR>)>) -> Result<(), DiffError>{
[INFO] [stdout] 9   | |     for &id in n {
[INFO] [stdout] 10  | |         if let Some((_, v)) = meta.get(id) {
[INFO] [stdout] ...   |
[INFO] [stdout] 13  | |                     if r.read()?.as_bool()? {
[INFO] [stdout]     | |                                           ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), DiffError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 26  | |     Ok(())
[INFO] [stdout] 27  | | }
[INFO] [stdout]     | |_- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), DiffError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 39 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dochy_diff` due to 40 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d5705f002cbb3c01293a9871e5153a190175aa12c7fc26994435f9aebb5a1f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5705f002cbb3c01293a9871e5153a190175aa12c7fc26994435f9aebb5a1f73", kill_on_drop: false }`
[INFO] [stdout] d5705f002cbb3c01293a9871e5153a190175aa12c7fc26994435f9aebb5a1f73
